﻿<UserControl x:Class="SchedulerControl.ScheduleDayViewHeaderControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Rectangle>
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFAC51C" Offset="0"/>
                    <GradientStop Color="#FFFDCE23" Offset="0.997"/>
                    <GradientStop Color="#FFFBA00B" Offset="0.467"/>
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <TextBlock  HorizontalAlignment="Center" Name="dayTitle" VerticalAlignment="Center" />
        <Path Data="M200,0 L200,30" HorizontalAlignment="Right" Stretch="Fill" UseLayoutRounding="False" Width="0.5">
            <Path.Stroke>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFA93B07" Offset="0"/>
                    <GradientStop Color="#FFA93B07" Offset="1"/>
                    <GradientStop Color="#FFFF5504" Offset="0.504"/>
                </LinearGradientBrush>
            </Path.Stroke>
        </Path>
        <Path Data="M200,0 L200,30" HorizontalAlignment="Left" Stretch="Fill" UseLayoutRounding="False" Width="0.5">
            <Path.Stroke>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFA93B07" Offset="0"/>
                    <GradientStop Color="#FFA93B07" Offset="1"/>
                    <GradientStop Color="#FFFF5504" Offset="0.504"/>
                </LinearGradientBrush>
            </Path.Stroke>
        </Path>
    </Grid>
</UserControl>
